class CaptchaController < ApplicationController
  include SessionCaptcha::ControllerHelpers

  def show
  end

  def validate_captcha
    if session_captcha_valid?
      flash[:notice] = "Valid captcha"
      redirect_to :action => 'show'
    else
      flash[:notice] = "Invalid captcha"
      render 'show'
    end
  end
end
